<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<div class="bjui-pageContent tableContent">
	  
	<div class="panel panel-default pass_margin_top_percent_2_ponit_5">
		<div class="panel-heading">
			<h4 class="panel-title">
				<a data-toggle="collapse" data-parent="#accordion" 
				   href="#collapseOne">
					=退/改签详情=
				</a>
			</h4>
		</div>
		<div id="collapseOne" class="panel-collapse collapse in" >
			<div class="panel-body">
				<table class="table table-bordered table-hover table-striped table-top">
					<thead>
						<tr>
							<td class="pass_width_ave_7_column">退改签ID</td>
							<td class="pass_width_ave_7_column">用户姓名</td>
							<td class="pass_width_ave_7_column">子订单编号</td>
							<td class="pass_width_ave_7_column">原去程起飞机场</td>
							<td class="pass_width_ave_7_column">原去程降落机场</td>
							<td class="pass_width_ave_7_column">原去程航班号</td>
							<td class="pass_width_ave_7_column">原去程起飞时间</td>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td class="pass_width_ave_7_column">${alter.id}</td>
							<td class="pass_width_ave_7_column">${alter.customerName}</td>
							<td class="pass_width_ave_7_column">${alter.subOrderNum}</td>
							<td class="pass_width_ave_7_column">${alter.originalGoUpAirport}</td>
							<td class="pass_width_ave_7_column">${alter.originalGoDownAirport}</td>
							<td class="pass_width_ave_7_column">${alter.originalGoFlightNum}</td>
							<td class="pass_width_ave_7_column"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.originalGoUpTime}" /></td>
						</tr>
					</tbody>
						<thead>
						<tr >
							<td class="pass_width_ave_7_column">原去程降落时间</td>
							<td class="pass_width_ave_7_column">原返程起飞机场</td>
							<td class="pass_width_ave_7_column">原返程降落机场</td>
							<td class="pass_width_ave_7_column">原返程航班号</td>
							<td class="pass_width_ave_7_column">原返程起飞时间</td>
							<td class="pass_width_ave_7_column">原返程降落时间</td>
							<td class="pass_width_ave_7_column">退改签费</td>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td class="pass_width_ave_7_column"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.originalGoDownTime}" /></td>
							<td class="pass_width_ave_7_column">${alter.originalReturnUpAirport}</td>
			    			<td class="pass_width_ave_7_column">${alter.originalReturnDownAirport}</td>
							<td class="pass_width_ave_7_column">${alter.originalReturnFlightNum}</td>
							<td class="pass_width_ave_7_column"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.originalReturnUpTime}" /></td>
			    			<td class="pass_width_ave_7_column"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.originalReturnDownTime}" /></td>
			    			<td class="pass_width_ave_7_column">${alter.refundAlterPrice}</td>
						</tr>
					</tbody>
						<thead>
						<tr >
							<td class="pass_width_ave_7_column">平台操纵退改签费</td>
							<td class="pass_width_ave_7_column">用户展示退改签费</td>
							<td class="pass_width_ave_7_column">原证件类型</td>
							<td class="pass_width_ave_7_column">原证件号码</td>
							<td class="pass_width_ave_7_column">新证件类型</td>
							<td class="pass_width_ave_7_column">新证件号码</td>
							<td class="pass_width_ave_7_column">申请时间</td>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td class="pass_width_ave_7_column">${alter.platformBackAlterPrice}</td>
							<td class="pass_width_ave_7_column">${alter.customShowBackAlterPrice}</td>
			    			<td class="pass_width_ave_7_column">${alter.originalIdType}</td>
							<td class="pass_width_ave_7_column">${alter.originalIdNum}</td>
							<td class="pass_width_ave_7_column">${alter.newIdType}</td>
			    			<td class="pass_width_ave_7_column">${alter.newIdNum}</td>
			    			<td class="pass_width_ave_7_column"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.applyTime}" /></td>
						</tr>
					</tbody>
						<thead>
						<tr >
							<td class="pass_width_ave_7_column">商户处理时间</td>
							<td class="pass_width_ave_7_column">平台处理时间</td>
							<td class="pass_width_ave_7_column">去程改签至时间</td>
							<td class="pass_width_ave_7_column">返程改签至时间</td>
							<td class="pass_width_ave_7_column">操作类型</td>
							<td class="pass_width_ave_7_column">改签操作的航程类型</td>
							<td class="pass_width_ave_7_column">审核状态</td>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td class="pass_width_ave_7_column"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.merchantHandleTime}" /></td>
							<td class="pass_width_ave_7_column"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.platformHandleTime}" /></td>
							<td class="pass_width_ave_7_column"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.goAlterTime}" /></td>
			    			<td class="pass_width_ave_7_column"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.returnAlterTime}" /></td>
							<td class="pass_width_ave_7_column">
									<c:if test="${alter.operationType == 1}">退票</c:if>
					    			<c:if test="${alter.operationType == 2}">改签</c:if>
					    			<c:if test="${alter.operationType == 3}">修改证件</c:if></td>
							<td class="pass_width_ave_7_column">
									<c:if test="${alter.alterCategory == 1}">去程</c:if>
					    			<c:if test="${alter.alterCategory == 2}">返程</c:if>
					    			<c:if test="${alter.alterCategory == 3}">往返</c:if></td>
			    			<td class="pass_width_ave_7_column">
									<c:if test="${alter.auditStatus == 1}">审核中</c:if>
					    			<c:if test="${alter.auditStatus == 2}">审核通过</c:if>
					    			<c:if test="${alter.auditStatus == 3}">审核不通过</c:if></td>
						</tr>
					</tbody>
						<thead>
						<tr >
							<td class="pass_width_ave_7_column" colspan="7">记录时间</td>
						</tr>
					</thead>
					<tbody>
						<tr>
			    			<td class="pass_width_ave_7_column" colspan="7"><fmt:formatDate type="both" pattern="yyyy-MM-dd HH:mm:ss" value="${alter.recordTime}" /></td>
						</tr>
					</tbody>
					<thead>
						<tr>
							<td colspan="7" class="pass_width_ave_7_column">备注</td>
						</tr>
					</thead>
					<tbody>
						<tr>
			    			<td colspan="7">${alter.remark}</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>
	
</div>